#pragma once
#include "../../game_core/include/GameInclude.h"
#include "LoginView.h"

class LoginModule:public GameModule
{
public:
	LoginModule(void);
	~LoginModule(void);
	virtual bool init();
	virtual void destroy();
	virtual void show(void* data);
	virtual void close();

	GameView* getView() { return _view; }

private:

	void touchButton(Object* object,TouchEventType type); 
	void palyGame();
	void onRoleInfoEvent(TagEvent* event);

	void initProxy();
	void initModule();

private:
	LoginView* _view;
};

